<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String phone = request.getParameter("phone");
%>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>修改航班信息</title>
</head>
<body>
<div >
  <h1>修改数据</h1>
  <form action="updateFlight?phone=<%=phone%>" method="post">
    <%--    hidden---->隐藏域，将id隐藏，用户看不见，但后端能获取   --%>
    <input type="hidden" value="${f.id}" name="id">
    <label>航&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:&nbsp;<input type="text" value="${f.flightId}" name="flightId"></label><br>
    <label>航空公司:&nbsp;<input type="text" value="${f.company}" name="company"></label><br>
    <label>出发机场:&nbsp;<input type="text" value="${f.departureAirport}" name="departureAirport"></label><br>
    <label>达到机场:&nbsp;<input type="text" value="${f.arriveAirport}" name="arriveAirport"></label><br>
    <label>出发时间:&nbsp;<input type="text" value="${f.departureTime}" name="departureTime"></label><br>
    <label>到达时间:&nbsp;<input type="text" value="${f.arriveTime}" name="arriveTime"></label><br>
    <label>机&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型:&nbsp;<input type="text" value="${f.model}" name="model"></label><br>
    <label>费&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用:&nbsp;<input type="text" value="${f.cost}" name="cost"></label><br>
    <input type="submit" value="提交">
  </form>
</div>

</body>
</html>
